#include <QObject>
#include "artist.h"
#include "album.h"

#ifndef SONG_H
#define SONG_H

class Album;
class Artist;

class Song
{
public:
    Song(QString file, QString title = "", QString artist = "", QString album = "", QString track = "", QString name = "", int id = 0);

    QString file;
    QString title;
    QString artist;
    QString album;
    QString track;
    QString name;
    int id;

    Album * getAlbum();
    void setAlbum(Album * album);

    Artist * getArtist();
    void setArtist(Artist * artist);

private:
    Artist * p_artist;
    Album * p_album;


};

#endif // SONG_H
